﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Input;
using System.Windows.Data;
using MyPublisher.Administration.Commands;
using System.Windows.ApplicationFramework;
using System.Collections.ObjectModel;
using MyPublisher.Administration.Model;

namespace MyPublisher.Administration.ViewModels
{
    public class ContentViewModel : DocumentViewModel<ContentDocument>
    {
        public ContentViewModel(IView view, string name)
            : base(view, name)
        {
            this.InsertItems(App.EntityFactory.Documents);
            this.SelectFirst();
        }
    }
}
